package com.psnoted.backend.exception;

/**
 * 用户不存在异常类
 * 当用户不存在时抛出此异常
 * 
 * @author PSNoted Team
 * @version 1.0.0
 */
public class UserNotFoundException extends BusinessException {

    public UserNotFoundException(String message) {
        super(404, message);
    }

    public UserNotFoundException(String keyHash, boolean isKeyHash) {
        super(404, "用户不存在: " + keyHash);
    }

    public UserNotFoundException(String message, Throwable cause) {
        super(404, message, cause);
    }
} 